package com.yunfeisoft.business.service.impl;

import com.yunfeisoft.business.dao.inter.DailyLifeActivityAssessmentDao;
import com.yunfeisoft.business.model.DailyLifeActivityAssessment;
import com.yunfeisoft.business.service.inter.DailyLifeActivityAssessmentService;
import com.yunfeisoft.common.base.BaseServiceImpl;
import com.yunfeisoft.common.sql.separation.DataSourceChange;
import com.yunfeisoft.common.utils.Page;
import org.springframework.stereotype.Service;

import java.util.Map;

/**
 * ClassName: DailyLifeActivityAssessmentServiceImpl
 * Description: 日常生活活动评估表service实现
 * Author: Jackie liu
 * Date: 2020-05-22
 */
@Service("dailyLifeActivityAssessmentService")
public class DailyLifeActivityAssessmentServiceImpl extends BaseServiceImpl<DailyLifeActivityAssessment, String, DailyLifeActivityAssessmentDao> implements DailyLifeActivityAssessmentService {

    @Override
    @DataSourceChange(slave = true)
    public Page<DailyLifeActivityAssessment> queryPage(Map<String, Object> params) {
        return getDao().queryPage(params);
    }
}